package com.yoga.manager.admin;

import com.yoga.common.appexception.AppException;
import com.yoga.common.bo.CourseBO;
import com.yoga.common.page.PageBO;
import com.yoga.common.qto.CourseQTO;

/**
 * Created by hdx on 2020/9/28.
 */
public interface AdminCourseManager {

    CourseBO addData(CourseBO courseBO) throws AppException;

    Boolean updateData(CourseBO courseBO) throws AppException;

    Boolean deleteData(Long courseId) throws AppException;

    PageBO<CourseBO> findForPage(CourseQTO courseQTO) throws AppException;
}
